package com.example.airobotpositions.dao;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "添加职位请求参数")
public class AddPositionsDto {

    @NotBlank(message = "职位名称不能为空")
    @ApiModelProperty(value = "职位名称，如高级Java开发工程师")
    private String positionName;

    @NotBlank(message = "所属部门不能为空")
    @ApiModelProperty(value = "所属部门")
    private String department;

    @NotBlank(message = "职位级别不能为空")
    @ApiModelProperty(value = "职位级别（允许值：初级/中级/高级/资深/专家）")
    private String positionLevel;

    @NotBlank(message = "职位描述不能为空")
    @ApiModelProperty(value = "职位详细描述，包括工作内容、职责等")
    private String jobDescription;

    @NotBlank(message = "任职要求不能为空")
    @ApiModelProperty(value = "任职要求，包括学历、经验等硬性条件")
    private String jobRequirements;

    @ApiModelProperty(value = "所需技能列表（逗号分隔）")
    private String requiredSkills;

    @NotNull(message = "招聘人数不能为空")
    @ApiModelProperty(value = "招聘人数")
    private Integer headcount;
}
